<?php

namespace App\Http\Controllers;

use App\Models\Setting;
use Illuminate\Http\Request;
use Illuminate\Support\HtmlString;

class PolicyController extends Controller
{
    public function agreement(Request $request): HtmlString
    {
        return new HtmlString(Setting::get('agreement'));
    }

    public function privicy(Request $request): HtmlString
    {
        return new HtmlString(Setting::get('privicy'));
    }
}
